/**
 * @author wn
 * @date 2023/03/03 14:08:51
 * @description: 用户相关接口 动态路由
 */

import request from '@/utils/request'

/**
 * 获取用户信息 PermissionList
 * @returns Promise
 */

export const queryPermissionsByUser = () =>
	request('/sys/permission/getUserPermissionByToken')
